import http from '@/utils/http';//导入接口域名列表
import host_one from "./host/host"
const request = {
    student_list(params, callback) {
        http.post(host_one + "/studentlist", params, callback)
    },
    add_student(params, callback) {
        http.post(host_one + "/studentadd", params, callback)
    },
    edit_student(params, callback) {
        http.post(host_one + "/studentupdate", params, callback)
    },
    delete_student(params, callback) {
        http.post(host_one + "/studentdelete", params, callback)
    },
    detail_student(params, callback) {
        http.post(host_one + "/studentdetail", params, callback)
    }
}
export default request;